﻿using Batman.CommandLine.Utils;

namespace Batman.CommandLine.Commands
{
    public class InstallCnpm : CommandLineApplicationBase
    {
        public override string Name => "update";

        public override string Description => "初始化cnpm";

        public override void OnExecute()
        {
            _CommandLineApplication.Out.WriteLine("为您安装cnpm，安装时间可能在1分钟左右");

            ProcessUtil.StarBatFile("BatFiles/cnpm.bat", _CommandLineApplication);
        }
    }
}
